﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SupervisorModels
{
    class Cls_ProgramCollection
    {
        WilkeService.Service1Client services;

        Cls_Program program;

        public List<Cls_Program> listPrograms { get; set; }
        public List<Cls_Program> listStandardPrograms;

        public Cls_ProgramCollection()
        {
            services = new WilkeService.Service1Client();
            listPrograms = new List<Cls_Program>();
            listStandardPrograms = new List<Cls_Program>();

        }
        public void CreateNewProgram(string name, string path)
        {
            program = new Cls_Program(name, path);
            listPrograms.Add(program);
        }

        public void AddToStandardPackage(string name, string path)
        {
            listStandardPrograms.Add(new Cls_Program(name, path));
        }

        public void DeleteFromStandardPackage(string name, string path)
        {
            listStandardPrograms.Remove(new Cls_Program(name, path));
        }



    }
}

